#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define OLED_RESET     -1
#define SCREEN_ADDRESS 0x3C
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
char text[]="When the going gets tough,the tough get going!";
int textLenght=sizeof(text);
void setup()
{
	Wire.begin(/*SDA*/12,/*SCL*/14);
	display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS);
	display.setTextSize(2);
	display.setTextColor(SSD1306_WHITE);
	display.clearDisplay();
}

void loop()
{
	/*
	for(int i=0;i<textLenght-1;i++){
		display.clearDisplay();
		display.setCursor(64-i,i);
		display.println(text[i]);
		display.display();
		delay(200);
	}
	*/
}
